xen/console: use warning infrastructure for sync console warning
authorWei Liu <wei.liu2@citrix.com>
Thu, 23 Jun 2016 15:10:28 +0000 (16:10 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 23 Jun 2016 15:57:14 +0000 (16:57 +0100)
commit509019f42dd514bba40ba7ec8663341a5c1efa4c
tree9f9d33e3edbe8881f45d43b1de8058ac4e1ef28d
parentee3fd57acd903f1b302290a0a1019d3db95aa259
xen/console: use warning infrastructure for sync console warning

Move the warning text to a static variable and marked that as initconst
data. Call warning_add in console_init_preirq. Finally remove all
unused bits.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/drivers/char/console.c